﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DotNetNuke.Web.Razor;
using DotNetNuke.Entities.Modules;
using DotNetNuke.Entities.Modules.Actions;
using DotNetNuke.Security;
using DotNetNuke.Common;

namespace MattKane.Modules.YouTubeGallery
{
    public partial class ViewYouTubeGallery : RazorModuleBase, IActionable
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        #region Optional Interfaces


        public ModuleActionCollection ModuleActions
        {
            get
            {
                ModuleActionCollection Actions = new ModuleActionCollection();                
                Actions.Add(this.ModuleContext.GetNextActionID(), "Edit YouTube Gallery", ModuleActionType.AddContent, "", "", this.ModuleContext.EditUrl(), false, SecurityAccessLevel.Edit, true, false);
                return Actions;
            }
        }
        #endregion
    }
}